-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
std.os.linux: remove app_mask and block&unblock pair in raise #22337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The reason musl special-cases The libc-less version of Zig's standard library does not use these signal numbers for anything, and the I'm inclined to say that, rather than adjusting |
I'm wondering why |
231f94a
to
6caca44
Compare
Maybe. I'd still like Andrew's thoughts on this before we go ahead with that change. |
Also, perhaps the same would be true of |
Current implementation of |
ping @andrewrk. |
https://git.musl-libc.org/cgit/musl/commit/?id=0bed7e0acfd34e3fb63ca0e4d99b7592571355a9 This actually seems like a pretty good reason to keep the signal blocking. However, we can just block all signals rather than only blocking "application signals" as defined by musl. musl makes this distinction because musl knows that the signal handlers for its internal signals ( |
Modified. |
I believe the order of first two u32 is wrong.
See also: https://github.com/bminor/musl/blob/master/src/signal/sigfillset.c